package com.comac.tasks.manager.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author wfb
 */
@SpringBootApplication(scanBasePackages = { "com.comac.tasks.manager.app",
        "com.alibaba.cola",
        "com.comac.mom.simpleintegration.mq",
        "com.comac.mom.simpleintegration.reids"})
@MapperScan({"com.comac.mom.momfoexecute.gatewayimpl.database",
        "com.comac.tasks.manager.app.gatewayimpl.database"})
@EnableFeignClients(basePackages = {"com.comac.tasks.manager.app.feign"})
public class TasksManagerAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(TasksManagerAppApplication.class, args);
    }
}
